package edu.sctu.practice.class01.renpingan.assign04;

/**
 * Created by Administrator on 2015/11/5.
 */
public class Boot {
    boolean flag;

    public Boot(boolean flag) {
        this.flag = flag;
    }

    public Boolean booting() {
        if (flag) {
            System.out.println("开机成功");
            return true;
        }
        return false;
    }
}
